package com.zsk.shop.model.results;

import com.zsk.shop.entity.BankCardUser;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author ljh
 * @create 2021/5/17 10:21
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("用户账户余额 返回数据")
public class ShopUserAccountResult {

    @ApiModelProperty("个人账户余额（包含提现冻结）")
    private String nowBalance;

    @ApiModelProperty("提现冻结余额")
    private String totalFrozen;

    @ApiModelProperty("入账冻结余额")
    private String entryWaitFrozen;

    @ApiModelProperty("可提现余额")
    private String canWithdrawBalance;

    @ApiModelProperty("当前可提现 + 待到（入）账的现有余额")
    private String balance;

    @ApiModelProperty("是否关联绑定微信")
    private Boolean haveWeChatBind;

    @ApiModelProperty("银行卡信息，有值则有账号")
    private List<BankCardUser> bankCardInfo;

    @ApiModelProperty("支付宝账号，有值则有账号")
    private String aliPayAccount;

    @ApiModelProperty(name = "idCardInfo", value = "0未认证 1已有实名，无身份证号 2认证成功", dataType = "Integer")
    private Integer idCardInfo = 0;

    @ApiModelProperty(name = "trueName", value = "实名名称", dataType = "Integer")
    private String trueName;

}
